@extends('common.index')
@section('nav')
    @include('common.message')
    @include('common.number')
    <div class="btn-group" role="group" aria-label="...">
        <div class="btn-group" role="group">
            <button type="button" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                政治
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                <li><a href="#" onclick="num('{{ url('polity/choice') }}')">选择题</a></li>
                <li role="separator" class="divider"></li>
                <li><a href="#">Dropdown link</a></li>
            </ul>
        </div>
        <div class="btn-group" role="group">
            <button type="button" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                英语
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                <li><a href="#">Dropdown link</a></li>
                <li><a href="#">Dropdown link</a></li>
            </ul>
        </div>
        <div class="btn-group" role="group">
            <button type="button" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                数学
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                <li><a href="#">Dropdown link</a></li>
                <li><a href="#">Dropdown link</a></li>
            </ul>
        </div>
    </div>
@endsection
@section('con')
    <ol class="breadcrumb">
        <li class="active">测试</li>
    </ol>
    <form class="input-group" method="get" action="{{url('/search')}}">
        <span class="input-group-addon"><i class="fa fa-search"></i></span>
        <input type="text" name="keywords" class="form-control" placeholder="搜索题库...">
        <span class="input-group-btn">
            <button id="search" class="btn btn-default">Go!</button>
        </span>
    </form>
    <h2 class="animated bounceIn">测试首页</h2>
    <p>请选择测试题型</p>
    <script>
        $('#search').click(function () {
            $(this).html('<i class="fa fa-spinner fa-pulse"></i>').css('width', '48.58px');
        });
    </script>
@endsection